package com.lyx.server.controller;

import com.lyx.common.vo.R;
import com.lyx.server.service.SmsLogService;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;

/**
 * 短信发送表(SmsLog)表控制层
 *
 * @author McMeloxD
 * @since 2024-08-12 19:05:49
 */
@RestController
@RequestMapping("server/sms/")
public class SmsLogController {
    /**
     * 服务对象
     */
    @Resource
    private SmsLogService service;

    @GetMapping("all")
    public R all(String phone){
        return service.queryByPhone(phone);
    }

}

